package com.neuedu.web.po;

import java.util.Date;

/**
 * @author 金山
 * 项目：jdbc-dao
 * site: https://blog.fulfill.com.cn
 * 描述 用户表的实体类
 * @data 2024/11/1113:58
 * <p>
 * <p>
 * int       int
 * bigint   long
 * varchar   String
 * Date       Date
 * Datetime   Date
 */
public class UmsUser {

    // 1 属性
    private Long userid;
    private String username;
    private String password;
    private String nickname;
    private Date expire;
    private Date lastLogin;
    private Long deptId;
    private String deptName;
    private Long registLevel;
    private String del;
    private Date createtime;

    // 2 构造函数


    public UmsUser() {
    }

    public UmsUser(Long userid, String username, String password, String nickname, Date expire, Date lastLogin, Long deptId, String deptName, Long registLevel, String del, Date createtime) {
        this.userid = userid;
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.expire = expire;
        this.lastLogin = lastLogin;
        this.deptId = deptId;
        this.deptName = deptName;
        this.registLevel = registLevel;
        this.del = del;
        this.createtime = createtime;
    }


    // 3 setter  getter

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Date getExpire() {
        return expire;
    }

    public void setExpire(Date expire) {
        this.expire = expire;
    }

    public Date getLastLogin() {
        return lastLogin;
    }

    public void setLastLogin(Date lastLogin) {
        this.lastLogin = lastLogin;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getRegistLevel() {
        return registLevel;
    }

    public void setRegistLevel(Long registLevel) {
        this.registLevel = registLevel;
    }

    public String getDel() {
        return del;
    }

    public void setDel(String del) {
        this.del = del;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }


    // 4   toString


    @Override
    public String toString() {
        return "UmsUser{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", expire=" + expire +
                ", lastLogin=" + lastLogin +
                ", deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", registLevel=" + registLevel +
                ", del='" + del + '\'' +
                ", createtime=" + createtime +
                '}';
    }
}
